home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BMUG PD-ROM BV3
/
BMUG PD-ROM Version BV3 (CDRM1097900).iso
/
HyperCard
/
Games
/
The Golden Parrot
/
background_7511.txt
< prev
next >
Wrap
Text File
|
1990-08-20
|
9KB
|
416 lines
-- background: 7511 from stack: in
-- bmap block id: 23918
-- flags: 0000
-- background id: 0
-- name: choice template
----- HyperTalk script -----
on openCard
put the number of lines in bkgnd field "textarea" into counter
repeat with num = 1 to counter
show bkgnd button num
add 1 to num
end repeat
repeat with counter = counter to 13
add 1 to counter
hide bkgnd button counter
end repeat
global score
get score
if score <= 0 then
visual effect scroll up
go to card "end"
end if
put it into field "scorebox"
end openCard
on closeCard
get last char of field textarea
if it is return then
delete last char of field textarea
end if
end closeCard
-- part 2 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=22 top=57 right=76 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 1
----- HyperTalk script -----
on mouseUp
get character 1 to 29 of line 1 of bkgnd field "textarea"
put it into there
delete line 1 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 1 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=6 top=28 right=54 bottom=349
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 21
-- text size: 18
-- style flags: 256
-- line height: 24
-- part name: cardname
-- part 3 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=22 top=75 right=94 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 2
----- HyperTalk script -----
on mouseUp
get character 1 to 29 of line 2 of bkgnd field "textarea"
put it into there
delete line 2 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=22 top=93 right=112 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 3
----- HyperTalk script -----
on mouseUp
get character 1 to 29 of line 3 of bkgnd field "textarea"
put it into there
delete line 3 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=22 top=111 right=130 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 4
----- HyperTalk script -----
on mouseUp
get character 1 to 29 of line 4 of bkgnd field "textarea"
put it into there
delete line 4 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=22 top=129 right=148 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 5
----- HyperTalk script -----
on mouseUp
get character 1 to 29 of line 5 of bkgnd field "textarea"
put it into there
delete line 5 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=22 top=147 right=166 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 6
----- HyperTalk script -----
on mouseUp
get character 1 to 29 of line 6 of bkgnd field "textarea"
put it into there
delete line 6 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=22 top=165 right=184 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 7
----- HyperTalk script -----
on mouseUp
get character 1 to 29 of line 7 of bkgnd field "textarea"
put it into there
delete line 7 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=22 top=183 right=202 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 8
----- HyperTalk script -----
on mouseUp
get character 1 to 29 of line 8 of bkgnd field "textarea"
put it into there
delete line 8 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 10 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=201 right=220 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 9
----- HyperTalk script -----
on mouseUp
get character 1 to 29 of line 9 of bkgnd field "textarea"
put it into there
delete line 9 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 11 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=219 right=238 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 10
----- HyperTalk script -----
on mouseUp
get character 1 to 29 of line 10 of bkgnd field "textarea"
put it into there
delete line 10 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 12 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=237 right=256 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 11
----- HyperTalk script -----
on mouseUp
get character 1 to 29 of line 11 of bkgnd field "textarea"
put it into there
delete line 11 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 13 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=255 right=274 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 12
----- HyperTalk script -----
on mouseUp
on mouseUp
get character 1 to 29 of line 12 of bkgnd field "textarea"
put it into there
delete line 12 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 14 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=273 right=292 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 13
----- HyperTalk script -----
on mouseUp
get character 1 to 29 of line 13 of bkgnd field "textarea"
put it into there
delete line 13 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 15 (button)
-- low flags: 80
-- high flags: 2000
-- rect: left=22 top=291 right=310 bottom=51
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: number 14
----- HyperTalk script -----
on mouseUp
get character 1 to 29 of line 14 of bkgnd field "textarea"
put it into there
delete line 14 of bkgnd field "textarea"
visual effect dissolve
go to card it
end mouseUp
-- part 16 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=49 top=58 right=314 bottom=500
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 21
-- text size: 14
-- style flags: 256
-- line height: 18
-- part name: textarea
-- part 17 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=187 top=220 right=314 bottom=500
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 21
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name: initials
-- part 18 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=449 top=34 right=54 bottom=503
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: scorebox